package com.metro.paperless.common.beans.constant;

import com.metro.core.excel.JxlsTemplate;

/**
 * Created by xk on 2017/12/4 0004.
 */
public enum JxlsTemplateEnum implements JxlsTemplate {

    DEMO("/template/system/permission.xls", "DEMO-系统菜单.xls"),
    PERMISSION("/template/system/permission.xls", "系统菜单.xls"),
    BIZ4SINFO("/template/biz/biz4sinfo.xls", "门店信息.xls"),
    USER("/template/system/user.xls", "系统用户.xls"),
    BILL_ADMIN("/template/bill/billAdmin.xls", "账单.xls"),
    BILL_USER("/template/bill/billUser.xls", "账单.xls"),
    OUT_IN("/template/report/exportOutAndIn.xls", "出入库明细.xls"),
    STOCK("/template/report/exportStock.xls", "库存明细.xls"),
    LEND("/template/report/exportLend.xls", "借还明细.xls"),
    CHECK("/template/report/exportCheck.xls", "盘点明细.xls"),
    ;

    private String path;
    private String name;

    JxlsTemplateEnum(String path, String name) {
        this.path = path;
        this.name = name;
    }

    @Override
    public String getPath() {
        return this.path;
    }

    @Override
    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
